﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userLogin.aspx.cs" Inherits="Com.CMS263.Web.userLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>263网站管理系统|登录</title>
    <link href="style/main.css" rel="stylesheet" type="text/css" />
    <link href="common/validator.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript"  src="/js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" language="javascript">
	function fEvent(sType,oInput){
		switch (sType){
			case "focus" :
				oInput.isfocus = true;
			case "mouseover" :
				oInput.style.borderColor = '#9ecc00';
				break;
			case "blur" :
				oInput.isfocus = false;
			case "mouseout" :
				if(!oInput.isfocus){
					oInput.style.borderColor='#84a1bd';
				}
				break;
		}
	}

    </script>
    <script language="javascript" type="text/javascript">
        function showRgCode() {
            $('#rgChkImg').attr("src", "/ValidateCode.aspx?" + Math.random(1000));
            $("#rgChkImg").show();
        }
        $(function() {
            showRgCode();
        })
    </script>

</head>
<body>
    <form id="Form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2" class="bg_5">
                </td>
            </tr>
            <tr>
                <td width="290">
                    <img src="/manage/images/logo.gif" width="290" height="66" /></td>
                <td class="bg_4">
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top" class="bg_1">
                    <table width="700" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td height="100">
                                &nbsp;</td>
                            <td width="2" rowspan="2" class="cc05">
                                <img src="/manage/images/line.gif" width="2" height="418" /></td>
                            <td height="95">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td width="319" valign="top">
                                <div id="loginimg">
                                    <img src="/manage/images/ico/2.gif" width="124" height="117" /></div>
                            </td>
                            <td valign="top">
                                <div id="loginform">
                                    <table width="340" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="52" height="30">
                                                用户名：</td>
                                            <td colspan="2">
                                                <asp:TextBox ID="txtUserId" class="broder_1" runat="server" Style="width: 150px;"
                                                    onFocus="fEvent('focus',this)" onBlur="fEvent('blur',this)" onMouseOver="fEvent('mouseover',this)"
                                                    onMouseOut="fEvent('mouseout',this)" size="22" MaxLength="20" 
                                                    ontextchanged="txtUserId_TextChanged"></asp:TextBox></td>
                                            <td width="136" class="cc09">
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td height="30">
                                                密 码：</td>
                                            <td colspan="2">
                                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" class="broder_1"
                                                    Style="width: 150px;" onFocus="fEvent('focus',this)" onBlur="fEvent('blur',this)"
                                                    onMouseOver="fEvent('mouseover',this)" onMouseOut="fEvent('mouseout',this)" size="22"
                                                    MaxLength="20"></asp:TextBox></td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td height="30">
                                                验证码：</td>
                                            <td >
                                                <input name="rgCheckCode" style="width:60px" id="rgCheckCode" type="text" class="broder_1" /></td>
                                                 <td>
                                                <img src="" id="rgChkImg" onclick="this.src='/ValidateCode.aspx?'+Math.random(1000)" style="display:block" /></td>
                                            
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td height="30" colspan="3" align="center">
                                                <asp:ImageButton ID="ibtnLogin" runat="server" ImageUrl="/manage/images/login.gif" OnClick="ibtnLogin_Click" Width="50" Height="30" /></td>
                                           
                                           <td>
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center" valign="top">
                    <table width="70%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td height="10" colspan="2">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td style="width: 9%">
                                <img src="/manage/images/ico/1.gif" width="34" height="34" /></td>
                            <td width="91%">
                                系统提示您,在操作过程中若出现问题,请联系<a href="#" class="link_red">263网络通信</a>技术部!</td>
                        </tr>
                        <tr>
                            <td height="10" colspan="2">
                                &nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" id="end">
            <tr>
                <td>
                    网站管理系统 Version 4.0.1 Copyright &copy; 2004-2011 All rights reserved</td>
            </tr>
        </table>
    </form>
</body>
</html>